﻿
using ED.FreeSql.Core;
using System.ComponentModel.DataAnnotations.Schema;

namespace ED.Entity
{
    /// <summary>
    /// 用户信息表
    /// </summary>
    [Table("Base_User")]
    public class Base_UserEntity : BaseEntity<int>
    {

        /// <summary>
        /// 所属员工编号
        /// </summary>
        public int? EmployeeId { get; set; }

        /// <summary>
        /// 登录名
        /// </summary>
        public string LoginName { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }

        /// <summary>
        /// Token信息
        /// </summary>
        public string ApiToken { get; set; }

        /// <summary>
        /// 用户类型
        /// </summary>
        public int? UserType { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool? Active { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedDate { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public int? CreatedBy { get; set; }
        /// <summary>
        /// 删除
        /// </summary>
        public bool IsDeleted { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdatedDate { get; set; }

        /// <summary>
        /// 更新操作人
        /// </summary>
        public int? UpdatedBy { get; set; }
    }
}
